<?php

class RssImport {
	
	private static $instance = null;
	
	private function __construct() {
	
	}
	
	public static function getInstance(){
		self::$instance = self::$instance ? self::$instance : new RssImport ( );
		return self::$instance;
	}
	
	public function get($channel){
		$db = DBHandler::getInstance();
		$import = $db->executeSELECTQuery('rss_import', null, 'cid = ' . $channel);
		return $import;		
	}
	
}

?>